package com.app.micaihu.view.army.dialog

import com.app.base.BaseDialogFragment
import com.app.micaihu.R
import com.app.micaihu.view.army.activity.ArmyCreateActivity
import com.blankj.utilcode.util.ActivityUtils
import kotlinx.android.synthetic.main.army_create_head_dialog.*

/**
 * 创建军团 成功
 */
class ArmyCreateSuccessDialog : BaseDialogFragment() {

    override fun getLayoutId() = R.layout.army_create_success_dialog


    override fun setData() {
    }

    override fun addListeners() {
        tvOk.setOnClickListener {
            ActivityUtils.finishActivity(ArmyCreateActivity::class.java)
            dismiss()
        }
    }
}